Page({
  data: {
    indicatorDots: true, // 是否显示指示点
    autoplay: true, // 是否自动切换
    interval: 1500, // 自动切换时间间隔，单位为毫秒
    duration: 500, // 滑动动画时长，单位为毫秒
    circular: true, // 是否采用衔接滑动

    bannerList: [{
        imageUrl: '../../../img/lbt1.png'
      },
      {
        imageUrl: '../../../img/lbt2.png'
      },
      {
        imageUrl: '../../../img/lbt3.png'
      },
      {
        imageUrl: '../../../img/lbt4.png'
      },
      {
        imageUrl: '../../../img/lbt5.png'
      },
      // 添加更多轮播图项
    ],
    aidtypes: [{
        "name": "低血糖",
        "iconUrl": "../../../img/车辆调度 (1).png",
        "itemclick": "itemclick1"
      },
      {
        "name": "烫伤",
        "iconUrl": "../../../img/车辆监控.png",
        "itemclick": "itemclick2"
      }, {
        "name": "骨折急救",
        "iconUrl": "../../../img/创伤急救 (1).png",
        "itemclick": "itemclick3"
      }, {
        "name": "流鼻血",
        "iconUrl": "../../../img/当前会诊 (1).png",
        "itemclick": "itemclick4"
      }, {
        "name": "触电",
        "iconUrl": "../../../img/急救web端 (1).png",
        "itemclick": "itemclick5"
      }, {
        "name": "误服药物",
        "iconUrl": "../../../img/急诊科中控大屏 (1).png",
        "itemclick": "itemclick6"
      }, {
        "name": "煤气中毒",
        "iconUrl": "../../../img/区域监控调度中心大屏.png",
        "itemclick": "itemclick7"
      }, {
        "name": "窒息",
        "iconUrl": "../../../img/上报记录 (1).png",
        "itemclick": "itemclick8"
      }, {
        "name": "休克",
        "iconUrl": "../../../img/消化道出血急救 (1).png",
        "itemclick": "itemclick9"
      }, {
        "name": "心肺复苏",
        "iconUrl": "../../../img/心电图监护中心 (2).png",
        "itemclick": "itemclick10"
      }, {
        "name": "胸痛急救",
        "iconUrl": "../../../img/胸痛急救 (1).png",
        "itemclick": "itemclick11"
      }, {
        "name": "烫伤急救",
        "iconUrl": "../../../img/医院管理.png",
        "itemclick": "itemclick12"
      }, {
        "name": "噎食急救",
        "iconUrl": "../../../img/知识管理 (1).png",
        "itemclick": "itemclick13"
      }, {
        "name": "触电急救",
        "iconUrl": "../../../img/指控分析 (1).png",
        "itemclick": "itemclick14"
      }, {
        "name": "煤气中毒",
        "iconUrl": "../../../img/质控分析.png",
        "itemclick": "itemclick15"
      }, {
        "name": "扭伤急救",
        "iconUrl": "../../../img/字典维护 (1).png",
        "itemclick": "itemclick16"
      }, {
        "name": "异物入眼",
        "iconUrl": "../../../img/卒中筛查 (1).png",
        "itemclick": "itemclick17"
      }, {
        "name": "流鼻血",
        "iconUrl": "../../../img/卒中随访.png",
        "itemclick": "itemclick18"
      }
    ]
  },
  itemclick1: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail1/aiddetail1'
    })
  },
  itemclick2: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail2/aiddetail2?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick3: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail3/aiddetail3?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick4: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail4/aiddetail4?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick5: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail5/aiddetail5?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick6: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail6/aiddetail6?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick7: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail7/aiddetail7?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick8: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail8/aiddetail8?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick9: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail9/aiddetail9?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick10: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail10/aiddetail10?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick11: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail11/aiddetail11?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick12: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail12/aiddetail12?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick13: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail13/aiddetail13?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick14: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail14/aiddetail14?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick15: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail15/aiddetail15?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick16: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail16/aiddetail16?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick17: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail17/aiddetail17?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  },
  itemclick18: function (event) {
    console.log(event.currentTarget)
    wx.navigateTo({
      url: '../aiddetail18/aiddetail18?aidurl=' + event.currentTarget.dataset.aidurl + '&aidname=' + event.currentTarget.dataset.aidname
    })
  }
});